import 'package:freezed_annotation/freezed_annotation.dart';
import 'dart:convert';

part 'my_my_fav_response.freezed.dart';
part 'my_my_fav_response.g.dart';

@freezed
class MyMyFavResponse with _$MyMyFavResponse {
  const factory MyMyFavResponse({
    @JsonKey(name: "c") required int c,
    @JsonKey(name: "m") required String m,
    @JsonKey(name: "d") required List<Map<String, String?>> d,
  }) = _MyMyFavResponse;

  factory MyMyFavResponse.fromJson(Map<String, dynamic> json) =>
      _$MyMyFavResponseFromJson(json);
}
